<template>
  
  <div>
    <h2>hell test......</h2>
    <h3>count:{{getCount}}</h3>
    <h3><button @click="descr('qq')">test->descrement</button></h3>
    <button @click="goMain">go to main...</button>
  

  </div>
</template>
<script>
import { mapGetters } from 'vuex';
import { mapActions } from 'vuex';
export default {
  computed: {
    ...mapGetters([
      'getCount'
    ])
  },
  methods: {
    ...mapActions([
      'descr'
    ]),
    goMain:function(){
      this.$router.push('/')
    }
  }
}
</script>
<style lang="less">

</style>
